import request from '@/request/api'
// 1、抽查配置-新增
export function addInfo(data) {
  return request({
    url: '/eam-service-configure/prior/addPrio',
    method: 'post',
    data: data
  })
}
// 2、抽查配置-删除
export function deleteInfo(data) {
  return request({
    url: '/eam-service-configure/prior/deleteById',
    method: "delete",
    params: data
  })
}
// 3、抽查配置-修改
export function updateInfo(data) {
  return request({
    url: '/eam-service-configure/prior/updatePrio',
    method: 'get',
    params: data
  })
}
// 4、抽查配置-查询列表
export function queryList(data) {
  return request({
    url: '/eam-service-configure/prior/queryList',
    method: 'get',
    params: data
  })
}
// 5、抽查配置-新增查询已有人员账号
export function getExistence() {
  return request({
    url: '/eam-service-configure/prior/existence',
    method: 'post',
  })
}